package org.omg.GIOP;

//
// Holder class for : MessageHeader_1_1
//
// @author OpenORB Compiler
//
final public class MessageHeader_1_1Holder implements
		org.omg.CORBA.portable.Streamable {
	//
	// Internal MessageHeader_1_1 value
	//
	public org.omg.GIOP.MessageHeader_1_1 value;

	//
	// Default constructor
	//
	public MessageHeader_1_1Holder() {
	}

	//
	// Constructor with value initialisation
	// @param initial the initial value
	//
	public MessageHeader_1_1Holder(org.omg.GIOP.MessageHeader_1_1 initial) {
		value = initial;
	}

	//
	// Read MessageHeader_1_1 from a marshalled stream
	// @param istream the input stream
	//
	public void _read(org.omg.CORBA.portable.InputStream istream) {
		value = MessageHeader_1_1Helper.read(istream);
	}

	//
	// Write MessageHeader_1_1 into a marshalled stream
	// @param ostream the output stream
	//
	public void _write(org.omg.CORBA.portable.OutputStream ostream) {
		MessageHeader_1_1Helper.write(ostream, value);
	}

	//
	// Return the MessageHeader_1_1 TypeCode
	// @return a TypeCode
	//
	public org.omg.CORBA.TypeCode _type() {
		return MessageHeader_1_1Helper.type();
	}

}
